package ooday01;

public class teacher extends Person{
    double salary;
    teacher(String name,int age,String address,double salary){
        this.name=name;
        this.age = age;
        this.address = address;
        this.salary = salary;
    }
    void teach(){
        System.out.println(name+"老师正在讲课。。。");
    }
}
